/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package vn.webapp.service;

import java.util.List;
import java.util.Set;
import vn.webapp.dto.DataPage;
import vn.webapp.model.Classes;
import vn.webapp.model.CourseTeacherClassRaw;
import vn.webapp.model.Coursing;
import vn.webapp.model.CoursingsSave;

public interface CoursingService {

    public DataPage<Coursing> list();
    
    public int removeACoursing(int id);
    
    public Coursing checkExists(int id, int teacherId, int courseId, int sessionId);
    
    public int saveACoursing(int teacherId, int courseId, int sessionId);
    
    public void editACoursing(int id, int teacherId, int courseId, int sessionId, int[] classIds);
    
    public DataPage<Coursing> filter(int page, int pageSize);
    
    public Set<Coursing> getById(int coursingId);
    
    public List<CoursingsSave> getOriginSource();
    
    public List<CourseTeacherClassRaw> listCourseTeacherClassById(int iCourseTeacherClassId);
}
